<?php



class VwProvenanceMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.VwProvenanceMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('vw_provenance');
		$tMap->setPhpName('VwProvenance');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('PIL_SARBAZ', 'PilSarbaz', 'string', CreoleTypes::CHAR, false, 1);

		$tMap->addColumn('ASB_RUKH', 'AsbRukh', 'string', CreoleTypes::CHAR, false, 1);

		$tMap->addColumn('WAZIR_SHAH', 'WazirShah', 'string', CreoleTypes::CHAR, false, 1);

		$tMap->addColumn('PROVENANCEWATCHER', 'Provenancewatcher', 'string', CreoleTypes::CHAR, false, 1);

	} 
} 